﻿using Basefr.App.Messages;
using Paas.App.Interface.Meta.Dtos;
using Paas.App.Interface.MetaTables.Dtos;
using Paas.Core.Const.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Paas.App.Interface.MetaTables.Messages
{
    public class SearchMetaTableFieldInput : QueryPagedInput
    {
        public string ReLabel { get; set; }
        //public string ObjectId { get; set; }
        /// <summary>
        /// 字段所属元数据表单Id
        /// </summary>
        public Guid? MetaTableId { get; set; }
        ///// <summary>
        ///// 元数据状态
        ///// </summary>
        //public MetaStatus? CurrentStatus { get; set; }
    }
    public class SearchMetaTableFieldOutput : QueryPagedOutput<MetaTableFieldDto> { }
    public class SearchMetaFieldForTableFieldInput : QueryPagedInput
    {
        //public string Name { get; set; }
        //public string Label { get; set; }
        public string ObjectId { get; set; }
        /// <summary>
        /// 字段所属元数据表单Id
        /// </summary>
        public Guid? MetaTableId { get; set; }
        ///// <summary>
        ///// 元数据状态
        ///// </summary>
        //public MetaStatus? CurrentStatus { get; set; }
    }
    public class SearchMetaFieldForTableFieldOutput : QueryPagedOutput<MetaFieldDto> { }
    public class SaveMetaTableFieldInput : SaveInput<MetaTableFieldDto, Guid>
    {
        /// <summary>
        /// 字段所属元数据表单Id
        /// </summary>
        public Guid? MetaTableId { get; set; }
        public List<string> TableFields { get; set; }

    }

    public class SaveMetaTableFieldOutput : SaveOutput<MetaTableFieldDto, Guid>
    {

    }
    public class PublicMetaTableFieldInput
    {
        public List<Guid> Ids { get; set; }
    }
    public class DeleteMetaTableFieldInput : DeleteInput<Guid> { }
    public class DeleteMetaTableFieldOutput : DeleteOutput { }
}
